INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})

SET(dataeditor_SOURCES dataeditorplugin.cpp dataeditor.cpp projectmapper.cpp objectmapper.cpp)
SET(dataeditor_HEADERS dataeditorplugin.h dataeditor.h projectmapper.h objectmapper.h)

QT4_WRAP_CPP(dataeditor_HEADERS_MOC ${dataeditor_HEADERS})

ADD_LIBRARY(TryDataEditor SHARED ${dataeditor_SOURCES} ${dataeditor_HEADERS_MOC})

TARGET_LINK_LIBRARIES(TryDataEditor ${QT_LIBRARIES})
TARGET_LINK_LIBRARIES(TryDataEditor ${QT_QTDECLARATIVE_LIBRARIES})
TARGET_LINK_LIBRARIES(TryDataEditor TrySandboxCore)
